package com.wcards.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("购物车表")
@TableName("cart")
public class Carts implements Serializable {
    @TableId("cart_id")
    @ApiModelProperty("动物编号")
    private Integer cartId;
    @ApiModelProperty
    private Integer userId;
    @ApiModelProperty
    private Integer goodsId;
    @ApiModelProperty
    private Integer numbers;
    @ApiModelProperty("商品图片")
    private String image;
}